package com.tyx.modules.manage.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tyx.common.utils.PageUtils;
import com.tyx.common.utils.Query;

import com.tyx.modules.manage.dao.UserOperationDao;
import com.tyx.modules.manage.entity.UserOperationEntity;
import com.tyx.modules.manage.service.UserOperationService;


@Service("userOperationService")
public class UserOperationServiceImpl extends ServiceImpl<UserOperationDao, UserOperationEntity> implements UserOperationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserOperationEntity> page = this.page(
                new Query<UserOperationEntity>().getPage(params),
                new QueryWrapper<UserOperationEntity>()
        );

        return new PageUtils(page);
    }

}
